package com.prs.moa.system.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.prs.core.workflow.dto.TaskDTO;
import com.prs.core.workflow.service.WorkFlowEngine;
import com.prs.moa.system.dao.SystemDAO;
import com.prs.moa.system.model.TreeModel;

/** 
 * @ClassName: SystemService 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author flybonew@163.com
 * @date 2013-1-17 上午10:10:31 
 * 
 */
@Service
public class SystemService {
	
	@Resource
	private SystemDAO systemDAO;

	public SystemDAO getSystemDAO() {
		return systemDAO;
	}

	public void setSystemDAO(SystemDAO systemDAO) {
		this.systemDAO = systemDAO;
	}
	
	public List<TreeModel> selectTreeByTreeId(String treeId){
		return this.systemDAO.selectTreeByTreeId(treeId);
	}
	
	public List<TreeModel> selectAll(){
		return this.systemDAO.selectAll();
	}
}
